package com.yuhanginfo.modules.web.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yuhanginfo.common.persistence.Page;
import com.yuhanginfo.common.service.WebCrudService;
import com.yuhanginfo.modules.web.dao.WebCarBrandDao;
import com.yuhanginfo.modules.web.entity.WebCarBrand;

/**
 * 首页品牌Service
 * @author yangs
 * @version 2017-09-26
 */
@Service
@Transactional(readOnly = true)
public class WebCarBrandService extends WebCrudService<WebCarBrandDao, WebCarBrand> {

	public WebCarBrand get(String id) {
		return super.get(id);
	}
	
	public List<WebCarBrand> findList(WebCarBrand carBrand) {
		return super.findList(carBrand);
	}
	
	public Page<WebCarBrand> findPage(Page<WebCarBrand> page, WebCarBrand carBrand) {
		return super.findPage(page, carBrand);
	}
	
	@Transactional(readOnly = false)
	public void save(WebCarBrand carBrand) {
		super.save(carBrand);
	}
	
	@Transactional(readOnly = false)
	public void delete(WebCarBrand carBrand) {
		super.delete(carBrand);
	}
	
}